home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Ultimate Frank Lloyd…ght - America's Architect
/
Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso
/
pre
/
flw
/
flwat01.dir
/
00031_Script_31
< prev
next >
Wrap
Text File
|
1994-11-15
|
2KB
|
96 lines
on startMovie
global currMM, dialogOn
global rolledAlready, switchState
set dialogOn = FALSE
set switchState = FALSE
set rolledAlready = FALSE
set currMM = "FLWWW"
puppetSprite 10, TRUE
puppetSprite 21, TRUE
puppetSprite 22, TRUE
puppetSprite 23, TRUE
set the immediate of sprite 23 to TRUE
set the stretch of sprite 23 to FALSE
end startMovie
on stepMovie
global nowFrame,currFrame
if nowFrame <> currFrame then
seeAlsoList
set currFrame = nowFrame
end if
end stepMovie
on stopMovie
set the castNum of sprite 21 to 1050
puppetSprite 21, FALSE
put " " into field "seeAlsoText"
updateStage
end stopMovie
on saveLocals
global lastFrame, nowFrame, lastMovie
set lastFrame = nowFrame
set lastMovie = the movie
end saveLocals
on buttonState
global FrankNav
global thumbTrack, thumbFrame, bflag, dialogOn
if dialogOn = FALSE then
glassCheck
-- don't check global buttons unless mouse is down at bottom
if (the mouseV > 300) or (bFlag = TRUE) then
doState
end if
end if
end buttonState
on atForStep
unLoadCast 9,26
puppetSprite 8, FALSE
if the frame = 10 then
go to movie "FLWAT02"
else
go to marker(+1)
end if
updateStage
end atForStep
on atBackStep
unLoadCast 9,26
puppetSprite 8, FALSE
if the frame < 3 then
go to frame "at000bld147°°°" of movie "FLWAT06"
else
go to marker(-1)
end if
updateStage
end atBackStep
on glassCheck
if rollOver(10) then
set the castNum of sprite 10 to 49
else
set the castNum of sprite 10 to 2
end if
updateStage
end glassCheck
on textRoll txHt
global origLocV, rolledAlready, topHat, horNess, dialogOn, SeeAlsoBox
if dialogOn = FALSE and SeeAlsoBox = FALSE then
set topHat = txHt
if rolledAlready = FALSE then
set origLocV = the locV of sprite 8
end if
if the mouseH < 414 and the mouseV > 366 and the mouseV < 429 then
set the locV of sprite 8 to txHt
set rolledAlready = TRUE
else if the mouseH > 414 or the mouseV > 429 or the mouseV < topHat then
set the locV of sprite 8 to origLocV
end if
end if
end textRoll